var AreaService = function () {
    this.timeouts = {};
};

AreaService.prototype.setTimeout = function(id, timeout){
    this.timeouts[id] = timeout;
};

AreaService.prototype.getTimeout = function(id) {
    return this.timeouts[id];
};

AreaService.prototype.removeTimeout = function(id) {
    var timeout = this.timeouts[id];

    if (timeout) {
        delete this.timeouts[id];
    }
};

module.exports = AreaService;